tests: make GtkMenu test more flexible
authorRyan Lortie <desrt@desrt.ca>
Sun, 5 May 2013 21:18:13 +0000 (17:18 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 13 May 2013 20:33:42 +0000 (16:33 -0400)
commit58481ffabfa27928650b2262173f46b289d5cfa1
tree0fc389547765836b9f871e8a66902a4e20fa1823
parent0e40afd5b0964ed81043033ad29ed434f3d27841
tests: make GtkMenu test more flexible

We were using gtk_menu_item_get_label() from a testcase to determine the
label associated with a menu item.  Future changes to GtkModelMenuItem
will cause this to stop working, so try a bit harder to find a label
inside of the item.
gtk/tests/gtkmenu.c